﻿using System;

namespace InstanceControllerWorker.DynaScale
{
	/// <summary>
	/// Represents the Metric captured
	/// </summary>
	public class Metric
	{
		#region Public Properties
		/// <summary>
		/// Gets or sets the name.
		/// </summary>
		/// <value>The name.</value>
		public string Name { get; set; }

		/// <summary>
		/// Gets or sets the current value.  This is the average of the values over a
		/// span of time that was specified when data was pulled from table storage.
		/// </summary>
		/// <value>The current value.</value>
		public double CurrentValue { get; set; }

		/// <summary>
		/// Gets or sets the timestamp.
		/// </summary>
		/// <value>The timestamp.</value>
		public DateTime Timestamp { get; set; }

		/// <summary>
		/// Gets or sets the tag (the role name).
		/// </summary>
		/// <value>The tag.</value>
		public string Tag { get; set; }

		/// <summary>
		/// Gets or sets increment threshold.
		/// </summary>
		/// <value>The tag.</value>
		public int IncThreshold { get; set; }

		/// <summary>
		/// Gets or sets decrement threshold.
		/// </summary>
		/// <value>The tag.</value>
		public int DecThreshold { get; set; }

		#endregion
	}
}